package wctools;

import org.quartz.*;
import org.quartz.impl.*;

public class JyQSched {
	  public static void main(String[] args) {
	        try {
	            Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler();
	            JobDetail jobDetail = new JobDetail
				("JyHello", null, JythonRunJob.class);
	            Trigger trigger = new SimpleTrigger
				("JyHello", "JyHello");
	            scheduler.start();
	            scheduler.scheduleJob(jobDetail, trigger);
	        } catch (SchedulerException schedulerException) {
	            schedulerException.printStackTrace();
	        }
	    }

}
